<?php
include('library/data.php');
$masp=$_GET["masp"];
echo $masp;
//$sql=mysql_query("select sanpham.tensp,sanpham.gia,sanpham.hinhanh, thongtinsanpham.tonquan from sanpham, thongtinsanpham where sanpham.masp='".$masp."' && thongtinsanpham.masp='".$masp."'");
$sql=mysql_query("select thongtinsanpham.tongquan,sanpham.tensp from thongtinsanpham,sanpham where sanpham.masp='$masp' && sanpham.masp=thongtinsanpham.masp");
 $row=mysql_fetch_row($sql);
echo $row[0]."<br>";
echo $row[1];
?>